.search-teams-selector-menu-button {
    display: flex;
    max-width: 250px;
    align-items: center;
    padding: 0 6px 0 8px;
    border: 0;
    border-radius: var(--radius-s, 4px);
    background-color: transparent;
    font-size: 12px;
    font-weight: 600;
    line-height: 24px;

    &:hover {
        background-color: var(--center-channel-color-8, rgba(63, 67, 80, 0.08));
    }


    & > span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }


    &.search-teams-selector-menu-button__different-team, &[aria-expanded="true"] {
        background: var(--button-bg-8, rgba(28, 88, 217, 0.08));
        color: var(--button-bg, #1c58d9);

        &:hover {
            background-color: var(--center-channel-color-8, rgba(63, 67, 80, 0.08));
        }
    }
}

.search-teams-selector-current-team.MuiMenuItem-root {
    margin-bottom: 8px;
}

.select-team-mui-menu {
    min-width: 220px;
}

.select-team-mui-menu>.MuiMenuItem-root {
    justify-content: space-between!important;
}

.select-team-mui-menu>.MuiMenuItem-root>.label-elements {
    overflow: hidden;
    flex-basis: auto!important;
    flex-grow: 0!important;
    flex-shrink: 1!important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.select-team-mui-menu>.MuiMenuItem-root>.trailing-elements {
    margin-left: 16px;
}
